package edu.ncst.baseweb.dao.web;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigInteger;

//首页显示信息
@Data
public class Admin {
    //用户数量
    private Integer user;
    //设备总数量
    private Integer equNumber;
    //实验室动态数量
    private Integer noticeNumber;
    //在库设备数量
    private Integer inEquNumber;
    //借出设备数量
    private Integer outEquNumber;//设备总数量
    //设备维修数量
    private Integer repairEquNumber;

    public Admin() {
        // 无参构造函数
    }

//    @Override
//    public String toString() {
//        return "Admin{" +
//                "user=" + user + '\'' +
//                ", equNumber=" + equNumber +
//                +inEquNumber+outEquNumber+
//                '}';
//    }

    public Admin(Integer user, Integer equNumber, Integer noticeNumber,Integer inEquNumber,Integer outEquNumber,Integer repairEquNumber) {
        this.user = user;
        this.equNumber = equNumber;
        this.noticeNumber = noticeNumber;
        this.inEquNumber = inEquNumber;
        this.outEquNumber = outEquNumber;
        this.repairEquNumber = repairEquNumber;
    }

}
